import {Routes} from '@angular/router';
//模块
import {Hall} from './hall/hall'; //竞猜大厅
import {Home} from "./home/home";
//import {Game} from "./game/game";
//import {RepoBrowser} from './github/repo-browser/repo-browser';
//import {RepoList} from './github/repo-list/repo-list';
//import {RepoDetail} from './github/repo-detail/repo-detail';

import {SecondComponent} from "./second/second.component";

/**
 * @author :jeff
 * @desp 路由设置
 * @type {any[]}
 */
export const rootRouterConfig: Routes = [
  {path: '', redirectTo: 'home',pathMatch: 'full'},
  {path : "home", component:Home},
  {path : "hall",component:Hall},
  {path : "second",component:SecondComponent}
];
